package com.bw.house.client;

import com.bw.house.common.ResponseResult;
import com.bw.house.entity.TbHouse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
@FeignClient("house-charter")
public interface HouseOrder {

    @GetMapping("/house/findById/{id}")
    public TbHouse findById(@PathVariable("id") Long id);
}
